﻿@model MvcMusicStore.Models.Album 
@{ 
    ViewBag.Title = "Edit - " + Model.Title; 
}
<h2>Edit Album</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{ 
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Edit Album</legend>@Html.EditorForModel()
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset> 
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>
